AssignmentProperties Class

Contains information about a SharePoint Learning Kit assignment, i.e. an e-learning package (such as a SCORM package) or a non-e-learning document (such as a Microsoft Word document) assigned to zero or more learners.

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public class AssignmentProperties

Constructors
Name Description
Ð AssignmentProperties

Initializes an instance of this class.

Properties
Name Description
Ð AutoReturn

Gets or sets a value indicating whether each learner assignment associated with this assignment should automatically be returned to the learner when the learner marks it as complete (after auto-grading), rather than requiring an instructor to manually return the assignment to the student.

Ð CreatedById

Gets or sets the UserItemIdentifier of the user who created this assignment.

Ð DateCreated

Gets the date/time that this assignment was created. Unlike the related value stored in the SharePoint Learning Kit database, this value is a local date/time, not a UTC value.

Ð Description

Gets or sets the description of the assignment.

Ð DueDate

Gets or sets the due date/time of this assignment. null if there is no due date. Unlike the related value stored in the SharePoint Learning Kit database, this value is a local date/time, not a UTC value.

Ð Instructors

Gets or sets the collection of instructors of this assignment.

Ð Learners

Gets or sets the collection of learners assigned this assignment.

Ð Location

Gets the MLC SharePoint location string of the e-learning package or non-e-learning document associated with the assignment.

Ð PackageFormat

Returns the general file format of the e-learning package associated with this assignment, or null if a non-e-learning document is associated with this assignment.

Ð PointsPossible

Gets or sets the nominal maximum number of points possible for the assignment. null if points possible is not specified.

Ð ShowAnswersToLearners

Gets or sets a value that indicates whether answers will be shown to the learner when a learner assignment associated with this assignment is returned to the learner. This only applies to certain types of e-learning content.

Ð SPSiteGuid

Gets the Guid of the SPSite that contains the SPWeb that this assignment is associated with.

Ð SPWebGuid

Gets the Guid of the SPWeb that this assignment is associated with.

Ð StartDate

Gets or sets the date/time that this assignment starts. Unlike the related value stored in the SharePoint Learning Kit database, this value is a local date/time, not a UTC value.

Ð Title

Gets or sets the title of the assignment.